package com.gupaoedu.baifc.dynamicproxy.myproxy;

import com.gupaoedu.baifc.Person;
import com.gupaoedu.baifc.Customer;

/**
 * projectName: baifc_proxy
 * packageName: com.gupaoedu.baifc.dynamicproxy.myproxy
 * Created: 2019/3/18.
 * Auther: baifc
 * Description:
 */
public class MyProxyTest {

    public static void main(String[] args) {



        try {
            Person obj = (Person)new MyProxyMeipo().getInstance(new Customer());
            System.out.println(obj.getClass());
            obj.findLove();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
